package com.vae.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vae.mall.goods.api.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    /**
     * 根据父ID查询子分类
     * @param pid
     * @return
     */
    List<Category> queryByParentId(Integer pid);
}